if ( $foundIpanel ne "" || $foundSysSet ne "" || $foundCustReg ne "") {
$result = `/usr/bin/X11/xconfirm -exclusive -c -B "No" -b "Yes" -icon warning -font "-*-helvetica-medium-r-narrow--19-*-*-*-p-83-iso8859-1" -t "You are currently running the Language and Time Zone Tool," -t "System Setup or EndUser Registration." -t "" -t "Do you really want to quit the O2 OutOfBox Experience" -t "before completing this task?"`;
&dontExit() if ( $result =~ /No/ );
}
# If we've gotten this far, no other apps are running. Go ahead
# and quit.
# "doc root" directory for SysSetup apps
$htdir = "/var/www/htdocs/SysSetup";
# include the subroutine to run applications, including dataFiler
require "$htdir/bin/runApp.pl";
# do some initial setup
# This is the directory where the data will end up.
$datadir = "$htdir/misc/.syssetup";
# If the user has made networking changes, they need to reboot
# Check and post the reset.sh xconfirm if necessary
# Note that if they say that they don't want to reboot, that's fine -
# they'll have to do it later themselves - we don't force them to